package cn.tedu.flower.manage.content.dao.persist.mapper;

import cn.tedu.flower.manage.content.pojo.entity.Banner;
import cn.tedu.flower.manage.content.pojo.vo.BannerListItemVO;
import cn.tedu.flower.manage.content.pojo.vo.BannerStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理轮播图数据的Mapper接口
 *
 * @author java@tedu.cn
 * @version 1.0
 */
@Repository
public interface BannerMapper extends BaseMapper<Banner> {

    List<BannerStandardVO> select();

    List<BannerListItemVO> list();

    int deleteById(Long id);
}
